package com.mm.mapper;

import com.mm.bo.EmpPunishListBo;
import com.mm.my.mapper.MyMapper;
import com.mm.pojo.EmpPunishInfo;
import com.mm.vo.EmpPunishListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpPunishInfoMapper extends MyMapper<EmpPunishInfo> {
    /**
     * 查询处罚列表总数
     *
     * @param empPunishListBo
     * @return
     */
    Integer queryEmpPunishListCount(EmpPunishListBo empPunishListBo);

    /**
     * 查询处罚列表
     *
     * @param empPunishListBo
     * @return
     */
    List<EmpPunishListVo> queryEmpPunishList(EmpPunishListBo empPunishListBo);
}